From: Florian Müllner Date: Wed, 18 Feb 2015 05:02:37 +0000 (+0100) Subject: dateMenu: Remove obsolete comment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1852 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3ba8a578e8c2868c2c08ce3dab66f1dd8e228d82;p=gnome-shell.git dateMenu: Remove obsolete comment The events list has been always defined since commit ca2e09fe8be2 about 2 1/2 years ago ... --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 7ff75f788..5dbdfb823 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -80,10 +80,6 @@ const DateMenuButton = new Lang.Class({ this._calendar.connect('selected-date-changed', Lang.bind(this, function(calendar, date) { - // we know this._eventList is defined here, because selected-data-changed - // only gets emitted when the user clicks a date in the calendar, - // and the calender makes those dates unclickable when instantiated with - // a null event source this._eventList.setDate(date); // Make the button reactive only if the selected date is not the current date.